package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Material;
import com.ruoyi.system.domain.MaterialType;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 物料类型Mapper接口
 *
 * @author syn
 * @date 2024-01-09
 */
public interface MaterialMapper {

    List<Material> getListByCondition(Material material);

    int addMaterial(Material material);

    Material getMaterialDetail(Long id);

    int updateMaterial(Material material);

    int deleteMaterialByIds(@Param("ids") Long[] ids);
}
